import http from '@http/http'
export const _getUserInfo = () => http.GET('/api/user/getUser')
export const _getUserById = (id) => http.GET('/api/PersonalOrders/selectUser/'+id,id)
export const _getOrdersById = (id) => http.GET('/api/PersonalOrders/getOrdersListById/'+id,id)
export const _getOrderById = (id) => http.GET('/api/PersonalOrders/getOrderById/'+id,id)
export const _searchList = (obj) => http.POST('/api/PersonalOrders/searchList',obj)
export const _updateUserInfo = (obj) => http.POST('/api/PersonalOrders/updateUser',obj)
export const _confPWD = (obj) => http.POST('/api/PersonalOrders/confPWD',obj)
export const _cancelOrder = (obj) => http.POST('/api/PersonalOrders/cancelOrder',obj)
export const _uploadUi = (obj) => http.POST('/api/PersonalOrders/uploadUi',obj)